<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;

class RtmpController extends BaseController
{
    public function onPublish(Request $request){
        Storage::put('on_publish', json_encode($request->all()));
        return ajaxReturn();
    }
}
